package web.form;

import java.util.ArrayList;
import java.util.List;

import org.apache.commons.collections.FactoryUtils;
import org.apache.commons.collections.list.LazyList;

public class SheetInfosList {
	
	private List<SheetInfo> list;
	private String personCode;
	
	public List<SheetInfo> getList() {
		return list;
	}
	
	public void setList(List<SheetInfo> list) {
		this.list = list;
	}
	
	public String getPersonCode() {
		return personCode;
	}

	public void setPersonCode(String personCode) {
		this.personCode = personCode;
	}

	
	public SheetInfosList(List<SheetInfo> list) {
		this.list= list;
	}
	
	
	@SuppressWarnings("unchecked")
	public SheetInfosList() {
		list = LazyList.decorate(new ArrayList<SheetInfo>(), FactoryUtils.instantiateFactory(SheetInfo.class)); 

	}
}
